package com.tencent.wework.demo

import android.view.Gravity
import android.view.ViewGroup
import com.tencent.wework.list.BaseViewHolder
import kotlinx.android.synthetic.main.demo_item_layout.view.*

/**
 * Created by huangwei on 2019/5/27.
 */
class DemoItemCell2(data: ItemData,pagerMode:Boolean) : DemoItemCell(data,pagerMode) {
    override fun createViewHolder(parent: ViewGroup): BaseViewHolder {
        val vh = super.createViewHolder(parent)
        vh.itemView.nameTxt.gravity = Gravity.RIGHT
        vh.itemView.contentTxt.gravity = Gravity.RIGHT
        return vh
    }
}
